Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution org.nuxeo.ecm.platform.task.core.pageproviders--providers

This contribution is part of XML component org.nuxeo.ecm.platform.task.core.pageproviders inside nuxeo-platform-task-core-7.10-HF05.jar /OSGI-INF/task-pageprovider-contrib.xml

Extension Point

Extension point providers of component PageProviderService.

Contributed Items

  • <coreQueryPageProvider name="GET_TASKS_FOR_ACTORS">
          <pattern>
            SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
            ecm:currentLifeCycleState
            NOT IN ('ended', 'cancelled') AND ecm:isProxy =
            0 AND nt:actors/* IN ?
          </pattern>
          <pageSize>0</pageSize>
          <maxPageSize>0</maxPageSize>
        </coreQueryPageProvider>
  • <coreQueryPageProvider name="GET_TASKS_FOR_TARGET_DOCUMENT">
          <pattern>
            SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
            ecm:currentLifeCycleState
            NOT IN ('ended', 'cancelled') AND ecm:isProxy =
            0 AND nt:targetDocumentId = ?
          </pattern>
          <pageSize>0</pageSize>
          <maxPageSize>0</maxPageSize>
        </coreQueryPageProvider>
  • <coreQueryPageProvider name="GET_TASKS_FOR_TARGET_DOCUMENT_AND_ACTORS">
          <pattern>
            SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
            ecm:currentLifeCycleState
            NOT IN ('ended', 'cancelled') AND ecm:isProxy =
            0 AND nt:targetDocumentId = ? AND nt:actors/* IN ?
          </pattern>
          <pageSize>0</pageSize>
          <maxPageSize>0</maxPageSize>
        </coreQueryPageProvider>
  • <coreQueryPageProvider name="GET_TASKS_FOR_TARGET_DOCUMENTS">
          <pattern>
            SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
            ecm:currentLifeCycleState
            NOT IN ('ended', 'cancelled') AND ecm:isProxy =
            0 AND (nt:targetDocumentId = ? OR nt:targetDocumentsIds/* IN (?))
          </pattern>
          <pageSize>0</pageSize>
          <maxPageSize>0</maxPageSize>
        </coreQueryPageProvider>
  • <coreQueryPageProvider name="GET_TASKS_FOR_TARGET_DOCUMENTS_AND_ACTORS">
          <pattern>
            SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
            ecm:currentLifeCycleState
            NOT IN ('ended', 'cancelled') AND ecm:isProxy =
            0 AND (nt:targetDocumentId = ? OR nt:targetDocumentsIds/* IN (?)) AND
            nt:actors/* IN ?
          </pattern>
          <pageSize>0</pageSize>
          <maxPageSize>0</maxPageSize>
        </coreQueryPageProvider>
  • <coreQueryPageProvider name="GET_TASKS_FOR_PROCESS">
          <pattern>
            SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
            ecm:currentLifeCycleState
            NOT IN ('ended', 'cancelled') AND ecm:isProxy =
            0 AND nt:processId = ?
          </pattern>
          <pageSize>0</pageSize>
          <maxPageSize>0</maxPageSize>
        </coreQueryPageProvider>
  • <coreQueryPageProvider name="GET_TASKS_FOR_PROCESS_AND_ACTORS">
          <pattern>
            SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
            ecm:currentLifeCycleState
            NOT IN ('ended', 'cancelled') AND ecm:isProxy =
            0 AND nt:processId = ? AND nt:actors/* IN ?
          </pattern>
          <pageSize>0</pageSize>
          <maxPageSize>0</maxPageSize>
        </coreQueryPageProvider>
  • <coreQueryPageProvider name="GET_TASKS_FOR_PROCESS_AND_NODE">
          <pattern>
            SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
            ecm:currentLifeCycleState
            NOT IN ('ended', 'cancelled') AND ecm:isProxy =
            0 AND nt:processId = ? AND nt:task_variables/*/key = 'nodeId' AND
            nt:task_variables/*/value = ?
          </pattern>
          <pageSize>0</pageSize>
          <maxPageSize>0</maxPageSize>
        </coreQueryPageProvider>
  • <coreQueryPageProvider name="GET_TASKS_FOR_TARGET_DOCUMENTS_AND_ACTORS_OR_DELEGATED_ACTORS">
          <pattern>
            SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
            ecm:currentLifeCycleState
            NOT IN ('ended', 'cancelled') AND ecm:isProxy =
            0 AND (nt:targetDocumentId = ? OR nt:targetDocumentsIds/* IN (?)) AND
            (nt:actors/* IN ? OR nt:delegatedActors/* IN ?)
          </pattern>
          <pageSize>0</pageSize>
          <maxPageSize>0</maxPageSize>
        </coreQueryPageProvider>
  • <coreQueryPageProvider name="GET_TASKS_FOR_ACTORS_OR_DELEGATED_ACTORS">
          <pattern>
            SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
            ecm:currentLifeCycleState
            NOT IN ('ended', 'cancelled') AND ecm:isProxy =
            0 AND (nt:actors/* IN ? OR nt:delegatedActors/* IN ?)
          </pattern>
          <pageSize>0</pageSize>
          <maxPageSize>0</maxPageSize>
        </coreQueryPageProvider>

XML Source

<extension point="providers" target="org.nuxeo.ecm.platform.query.api.PageProviderService">

    <coreQueryPageProvider name="GET_TASKS_FOR_ACTORS">
      <pattern>
        SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
        ecm:currentLifeCycleState
        NOT IN ('ended', 'cancelled') AND ecm:isProxy =
        0 AND nt:actors/* IN ?
      </pattern>
      <pageSize>0</pageSize>
      <maxPageSize>0</maxPageSize>
    </coreQueryPageProvider>

    <coreQueryPageProvider name="GET_TASKS_FOR_TARGET_DOCUMENT">
      <pattern>
        SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
        ecm:currentLifeCycleState
        NOT IN ('ended', 'cancelled') AND ecm:isProxy =
        0 AND nt:targetDocumentId = ?
      </pattern>
      <pageSize>0</pageSize>
      <maxPageSize>0</maxPageSize>
    </coreQueryPageProvider>

    <coreQueryPageProvider name="GET_TASKS_FOR_TARGET_DOCUMENT_AND_ACTORS">
      <pattern>
        SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
        ecm:currentLifeCycleState
        NOT IN ('ended', 'cancelled') AND ecm:isProxy =
        0 AND nt:targetDocumentId = ? AND nt:actors/* IN ?
      </pattern>
      <pageSize>0</pageSize>
      <maxPageSize>0</maxPageSize>
    </coreQueryPageProvider>

    <coreQueryPageProvider name="GET_TASKS_FOR_TARGET_DOCUMENTS">
      <pattern>
        SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
        ecm:currentLifeCycleState
        NOT IN ('ended', 'cancelled') AND ecm:isProxy =
        0 AND (nt:targetDocumentId = ? OR nt:targetDocumentsIds/* IN (?))
      </pattern>
      <pageSize>0</pageSize>
      <maxPageSize>0</maxPageSize>
    </coreQueryPageProvider>

    <coreQueryPageProvider name="GET_TASKS_FOR_TARGET_DOCUMENTS_AND_ACTORS">
      <pattern>
        SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
        ecm:currentLifeCycleState
        NOT IN ('ended', 'cancelled') AND ecm:isProxy =
        0 AND (nt:targetDocumentId = ? OR nt:targetDocumentsIds/* IN (?)) AND
        nt:actors/* IN ?
      </pattern>
      <pageSize>0</pageSize>
      <maxPageSize>0</maxPageSize>
    </coreQueryPageProvider>

    <coreQueryPageProvider name="GET_TASKS_FOR_PROCESS">
      <pattern>
        SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
        ecm:currentLifeCycleState
        NOT IN ('ended', 'cancelled') AND ecm:isProxy =
        0 AND nt:processId = ?
      </pattern>
      <pageSize>0</pageSize>
      <maxPageSize>0</maxPageSize>
    </coreQueryPageProvider>

    <coreQueryPageProvider name="GET_TASKS_FOR_PROCESS_AND_ACTORS">
      <pattern>
        SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
        ecm:currentLifeCycleState
        NOT IN ('ended', 'cancelled') AND ecm:isProxy =
        0 AND nt:processId = ? AND nt:actors/* IN ?
      </pattern>
      <pageSize>0</pageSize>
      <maxPageSize>0</maxPageSize>
    </coreQueryPageProvider>

    <coreQueryPageProvider name="GET_TASKS_FOR_PROCESS_AND_NODE">
      <pattern>
        SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
        ecm:currentLifeCycleState
        NOT IN ('ended', 'cancelled') AND ecm:isProxy =
        0 AND nt:processId = ? AND nt:task_variables/*/key = 'nodeId' AND
        nt:task_variables/*/value = ?
      </pattern>
      <pageSize>0</pageSize>
      <maxPageSize>0</maxPageSize>
    </coreQueryPageProvider>

    <coreQueryPageProvider name="GET_TASKS_FOR_TARGET_DOCUMENTS_AND_ACTORS_OR_DELEGATED_ACTORS">
      <pattern>
        SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
        ecm:currentLifeCycleState
        NOT IN ('ended', 'cancelled') AND ecm:isProxy =
        0 AND (nt:targetDocumentId = ? OR nt:targetDocumentsIds/* IN (?)) AND
        (nt:actors/* IN ? OR nt:delegatedActors/* IN ?)
      </pattern>
      <pageSize>0</pageSize>
      <maxPageSize>0</maxPageSize>
    </coreQueryPageProvider>

    <coreQueryPageProvider name="GET_TASKS_FOR_ACTORS_OR_DELEGATED_ACTORS">
      <pattern>
        SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
        ecm:currentLifeCycleState
        NOT IN ('ended', 'cancelled') AND ecm:isProxy =
        0 AND (nt:actors/* IN ? OR nt:delegatedActors/* IN ?)
      </pattern>
      <pageSize>0</pageSize>
      <maxPageSize>0</maxPageSize>
    </coreQueryPageProvider>

  </extension>